package com.cardone.platform.common.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author yaoht
 */
@Controller
public class ErrorPageController {
	/**
	 * 404界面
	 * 
	 * @return 404界面模板路径
	 */
	@RequestMapping(value = { "/error/404.html" })
	public String error404() {
		return "/error/404";
	}

	/**
	 * 500界面
	 * 
	 * @return 500界面模板路径
	 */
	@RequestMapping(value = { "/error/500.html" })
	public String error500() {
		return "/error/500";
	}
}
